const AV = require('../lib/av-core-min.js');
const adapters = require('../lib/leancloud-adapters-weapp.js');
const {ID,KEY,BASE} = require('../config/index')
AV.setAdapters(adapters);
AV.init({
    appId: ID,
    appKey: KEY,
    serverURL: BASE
});